package com.zcc.makingfriend.service;

import com.zcc.makingfriend.dto.LoginDto;
import com.zcc.makingfriend.untils.Result;

import javax.servlet.http.HttpServletResponse;

/**
 * @author zcc
 */
public interface AccountService {
    /**
     * 登录
     * @param loginDto
     * @param response
     * @return
     */
    public Result login(LoginDto loginDto, HttpServletResponse response);

    /**
     * 退出登录
     * @return
     */
    public Result logout();
}
